package com.example.project1.service;

import com.example.project1.information.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface UserService {
    List<User> getAll();

    boolean insertuser(String username,String password);

    User getoneuser(String username,String password);

    boolean deleteuser(String username);
}
